<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>

    <head>
        <meta charset="UTF-8">
        <title>【终端管家】系统管理后台</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="description" content="">
        <meta name="keywords" content="coco bootstrap template, coco admin, bootstrap,admin template, bootstrap admin,">
        <meta name="author" content="Huban Creative">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

        <!-- Base Css Files -->
        <link href="<?php echo __BOOTSTRAP__;?>css/bootstrap.min.css" rel="stylesheet" />
        <link href="<?php echo __CSS__;?>font-awesome/css/font-awesome.min.css" rel="stylesheet" />
        <link href="<?php echo __CSS__;?>fontello/css/fontello.css" rel="stylesheet" />

        <!-- Extra CSS Libraries Start -->
        <link href="<?php echo __CSS__;?>style.css" rel="stylesheet" type="text/css" />
        <!-- Extra CSS Libraries End -->

        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->

        <link rel="shortcut icon" href="<?php echo __IMG__;?>Besiness/favicon.ico">
        <script type="text/javascript" src="<?php echo __LIBS__;?>jquery/jquery-1.11.1.min.js"></script>
        <!--Validform-->
        <link href="<?php echo __LIBS__;?>validform/css/style.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="<?php echo __LIBS__;?>validform/js/Validform_v5.3.2.js"></script>
        <!--时间-->
        <link href="<?php echo __CSS__;?>jquery.datetimepicker.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="<?php echo __JS__;?>jquery.datetimepicker.full.js"></script>
    </head>

    <body class="fixed-left">
        <!-- Begin body -->
        <div id="wrapper">

            <!-- Start 头部导航-->
                                    <div class="topbar">
				<div class="topbar-left">
					<div class="logo">
						<h1><a href="#"><img src="<?php echo __IMG__;?>Besiness/logo.png" alt="Logo"></a></h1>
					</div>
					<button class="button-menu-mobile open-left"> <i class="fa fa-bars"></i> </button>
				</div>
				<!-- Button mobile view to collapse sidebar menu -->
				<div class="navbar navbar-default">
					<div class="container">
						<div class="navbar-collapse2">
							<!--<ul class="nav navbar-nav hidden-xs">
								<li class="dropdown">
									<a href="#" class="dropdown-toggle"><i class="icon-th"></i></a>
									<div class="dropdown-menu grid-dropdown">
										<div class="row stacked">
											<div class="col-xs-4">
												<a href="job_edit.html" class="clickable"><i class="icon-edit"></i>新建职位</a>
											</div>
											<div class="col-xs-4">
												<a href="job_open.html" class="clickable"><i class="icon-check"></i>已发布的职位</a>
											</div>
											<div class="col-xs-4">
												<a href="finance_pay.html" class="clickable"><i class="fa fa-calculator"></i>工资发放</a>
											</div>
										</div>
										<div class="row stacked">
											<div class="col-xs-4">
												<a href="javascript:;" class="clickable"><i class="icon-cloud-3"></i>财务管理</a>
											</div>
											<div class="col-xs-4">
												<a href="javascript:;" class="clickable"><i class="icon-calendar"></i>签约管理</a>
											</div>
											<div class="col-xs-4">
												<a href="javascript:;" class="clickable"><i class="icon-chart-line"></i>交易明细</a>
											</div>
										</div>
										<div class="clearfix"></div>
									</div>
								</li>
								<li>
                                                                    <a href="#" class="dropdown-toggle">欢迎&nbsp;&nbsp;<strong><?php echo session('user.realname');?></strong>&nbsp;&nbsp;来到职管用系统后台</a>
								</li>
							</ul>-->
							<ul class="nav navbar-nav navbar-right top-navbar">
								<!--<li class="dropdown iconify hide-phone">
									<a href="#" class="dropdown-toggle"><i class="fa fa-globe"></i><span class="label label-danger absolute right-num"></span></a>
									<ul class="dropdown-menu dropdown-message">
										<li class="dropdown-header notif-header"><i class="icon-bell-2"></i>最新消息
											<a class="pull-right" href="#"></a>
										</li>
										<li class="unread">
											<a href="#">
												<p><strong>第一</strong> 111 <strong>图片1</strong> <br />
													<i>2分钟前</i></p>
											</a>
										</li>
										<li class="unread">
											<a href="#">
												<p><strong>第二</strong> 222 <strong>图片2</strong> <br />
													<i>4分钟前</i></p>
											</a>
										</li>
										<li class="dropdown-footer">
											<div class="btn-group btn-group-justified">
												<div class="btn-group">
													<a href="#" class="btn btn-sm btn-primary"><i class="icon-ccw-1"></i>刷新</a>
												</div>
												<div class="btn-group">
													<a href="#" class="btn btn-sm btn-danger"><i class="icon-trash-3"></i>清空</a>
												</div>
												<div class="btn-group">
													<a href="#" class="btn btn-sm btn-success">查看<i class="icon-right-open-2"></i></a>
												</div>
											</div>
										</li>
									</ul>
								</li>
								<li class="dropdown iconify hide-phone">
									<a href="#" class="dropdown-toggle"><i class="fa fa-envelope"></i><span class="label label-danger absolute right-num"></span></a>
									<ul class="dropdown-menu dropdown-message">
										<li class="dropdown-header notif-header"><i class="icon-mail-2"></i> New Messages</li>
										<li class="unread">
											<a href="#" class="clearfix"> <img src="<?php echo __IMG__;?>Besiness/users/user-35.jpg" class="xs-avatar ava-dropdown" alt="Avatar"> <strong>John Doe</strong><i class="pull-right msg-time">5 minutes ago</i><br />
												<p>Duis autem vel eum iriure dolor in hendrerit ...</p>
											</a>
										</li>
										<li class="unread">
											<a href="#" class="clearfix"> <img src="<?php echo __IMG__;?>Besiness/users/user-35.jpg" class="xs-avatar ava-dropdown" alt="Avatar"> <strong>Sandra Kraken</strong><i class="pull-right msg-time">22 minutes ago</i><br />
												<p>Duis autem vel eum iriure dolor in hendrerit ...</p>
											</a>
										</li>
										<li>
											<a href="#" class="clearfix"> <img src="<?php echo __IMG__;?>Besiness/users/user-35.jpg" class="xs-avatar ava-dropdown" alt="Avatar"> <strong>Zoey Lombardo</strong><i class="pull-right msg-time">41 minutes ago</i><br />
												<p>Duis autem vel eum iriure dolor in hendrerit ...</p>
											</a>
										</li>
										<li class="dropdown-footer">
											<div class="">
												<a href="#" class="btn btn-sm btn-block btn-primary"><i class="fa fa-share"></i> See all messages</a>
											</div>
										</li>
									</ul>
								</li>-->
								<li class="dropdown iconify hide-phone">
									<a href="#" onclick="toggle_fullscreen()"><i class="icon-resize-full-2"></i></a>
								</li>
								<li class="dropdown topbar-profile">
                                                                <?php $avatar = intval(session('user.avatar')); if(!empty($avatar)){ if(is_int($avatar)){ $img_ava = __IMG__.'Head/kf_'.$avatar.'.jpg'; }else{ $img_ava = $avatar; } }else{ $img_ava = __IMG__.'Head/kf_1.jpg'; } ?>
									<a href="#" class="dropdown-toggle"><span class="rounded-image topbar-profile-image"><img src="<?php echo ($img_ava); ?>"></span> <strong><?php echo session('user.realname');?></strong> </a>
									<!--<ul class="dropdown-menu">
										<li>
											<a href="#">My Profile</a>
										</li>
										<li>
											<a href="#">Change Password</a>
										</li>
										<li>
											<a href="#">Account Setting</a>
										</li>
										<li class="divider"></li>
										<li>
											<a href="#"><i class="icon-help-2"></i> Help</a>
										</li>
										<li>
											<a href="lockscreen.html"><i class="icon-lock-1"></i> Lock me</a>
										</li>
										<li>
                                                                                    <a class="md-trigger" href="javascript:void(0);" ><i class="icon-logout-1"></i> Logout</a>
										</li>
									</ul>-->
								</li>
							</ul>
						</div>
						<!--/.nav-collapse -->
					</div>
				</div>
			</div>
            <!-- End 头部导航-->
            <!-- Start left menu -->
            <div class="left side-menu">
    <div class="sidebar-inner slimscrollleft">
        <!-- Search form -->
        <form role="search" class="navbar-form">
            <!--<div class="form-group">
<input type="text" placeholder="Search" class="form-control">
<button type="submit" class="btn search-button"><i class="fa fa-search"></i></button>
</div>
<div class="clearfix"></div>-->
        </form>

        <!--- Profile -->
        <div class="profile-info">
            <div class="col-xs-4">
                <a href="" class="rounded-image profile-image"><img src="<?php echo ($img_ava); ?>"></a>
            </div>
            <div class="col-xs-8">
                <div class="profile-text"><b><?php echo session('user.realname');?></b></div>
                <div class="profile-buttons">
                    <a href="<?php echo U('Admin/Public/logout');?>" title="Sign Out"><i class="fa fa-power-off text-red-1"></i></a>
                </div>
            </div>
        </div>
        <!--- Divider -->
        <div class="clearfix"></div>
        <hr class="divider" />
        <div class="clearfix"></div>
        <!--- Divider -->
        <div id="sidebar-menu">
            <ul>
                <li class="has_sub">
                    <a href="javascript:void(0);"><i class="icon-align-right"></i><span>科室管理</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>                        
                        <li>
                            <a date="企业岗位管理" src="<?php echo U('section/section_list');?>"><i></i><span>科室列表</span></a>
                        </li>
                    </ul>
                </li>
                <li class="has_sub">
                    <a href="javascript:void(0);"><i class="icon-align-right"></i><span>医生管理</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>                        
                        <li>
                            <a date="企业岗位管理" src="<?php echo U('doctor/doctor_list');?>"><i></i><span>医生列表</span></a>
                        </li>
                    </ul>
                </li>


                <li class="has_sub">
                    <a href="javascript:void(0);"><i class="fa fa-file"></i><span>自定义菜单</span><span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>
                        <li>
                            <a date="自定义菜单" src="<?php echo U('Menu/menu_diy');?>"><i></i><span>自定义菜单</span></a>
                        </li>
                    </ul>
                </li>
                <li class="has_sub">
                    <a href="javascript:void(0);"><i class="fa fa-table"></i><span>个人中心</span><span class="pull-right"><i class="fa fa-angle-down"></i></span></a>
                    <ul>
                        <li>
                            <a date="个人中心" src="<?php echo U('Admin/Public/u_center');?>"><i></i><span>个人中心</span></a>
                        </li>
                        <li>
                            <a date="更改密码" src="<?php echo U('Admin/Public/pwd_edit');?>"><i></i><span>更改密码</span></a>
                        </li>
                    </ul>
                </li>

            </ul>
            <div class="clearfix"></div>
        </div>
        <div class="clearfix"></div>
    </div>
</div>
            <!-- End left menu-->
            <!-- Start right content -->
            <div class="content-page">
                <div class="content-header">
                    <div class="ch_top ch_bg"><i class="icon-home-3"></i>欢迎页</div>
                </div>
                <iframe id="iframe-src" src="<?php echo U('index/welcome');?>"></iframe>
            </div>
        </div>
        <div class="layer-box"></div>
        <!-- End right content -->

        <!-- End of body -->
        <!--layer弹出层-->
        <script type="text/javascript" src="<?php echo __LIBS__;?>layer/layer.js"></script>
        <script type="text/javascript" src="<?php echo __JS__;?>common.js"></script>
    </body>

</html>